package com.uwaterloo.interviewme.model;

/**
 * The Mobel object for Interview.
 */
public final class Interview {
	
	/** The interview id. */
	private final String interviewID;
	
	/** The company name. */
	private final String companyName;
	
	/** The position. */
	private final String position;
	
	/** The location. */
	private final String location;
	
	/** The time. */
	private final String time;
	
	/** The detail info. */
	private DetailInfo detailInfo;
	
	/**
	 * Instantiates a new interview.
	 *
	 * @param interviewID the interview id
	 * @param companyName the company name
	 * @param position the position
	 * @param location the location
	 * @param time the time
	 */
	public Interview(String interviewID, 
					String companyName, 
					String position, 
					String location,
					String time) {
		this.interviewID = interviewID;
		this.companyName = companyName;
		this.position = position;
		this.location = location;
		this.time = time;
	}

	/**
	 * Gets the interview id.
	 *
	 * @return the interview id
	 */
	public String getInterviewID() {
		return interviewID;
	}

	/**
	 * Gets the company name.
	 *
	 * @return the company name
	 */
	public String getCompanyName() {
		return companyName;
	}

	/**
	 * Gets the position.
	 *
	 * @return the position
	 */
	public String getPosition() {
		return position;
	}

	/**
	 * Gets the location.
	 *
	 * @return the location
	 */
	public String getLocation() {
		return location;
	}
	
	/**
	 * Gets the time.
	 *
	 * @return the time
	 */
	public String getTime() {
		return time;
	}
	
	/**
	 * Sets the detail info.
	 *
	 * @param detailInfo the new detail info
	 */
	public void setDetailInfo(DetailInfo detailInfo) {
		this.detailInfo = detailInfo;
	}
	
	/**
	 * Gets the detail info.
	 *
	 * @return the detail info
	 */
	public DetailInfo getDetailInfo() {
		return detailInfo;
	}
}
